package com.zkt.practice.server.mapper;

import com.zkt.practice.server.entity.po.SubjectLabelPO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 赵开泰
 * @program jc-club
 * @date 2025/3/23
 * @description 题目标签mapper层
 **/

@Mapper
public interface SubjectLabelMapper {
	
	/**
	 * 根据id查询标签
	 */
	SubjectLabelPO queryById(@Param("id") Long id);
	
	/**
	 * 批量查询当前题目的标签名称
	 */
	List<String> getLabelNameByIds(@Param("labelIds") List<Long> labelIds);
	
}
